package com.sunsy.authserver.beans.po;

import java.util.Date;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

/**
 * (UserToken)表实体类
 *
 * @author makejava
 * @since 2021-07-20 14:40:45
 */
@Data
@TableName(value = "user_token")
public class UserToken implements Serializable {

    private static final long serialVersionUID = -52666519065703302L;

    @TableId(type = IdType.AUTO)
    private Integer id;

    private Long userId;

    private String userToken;

    private Date expirationTime;

    @TableField(fill = FieldFill.INSERT)
    private String createdBy;

    @TableField(fill = FieldFill.INSERT)
    private Date createdTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updatedBy;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updatedTime;


}